package com.school.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.school.domain.po.OrderProduct;
import com.school.domain.vo.order.OrderDetailsVO;

import java.util.List;

/**
 * <p>
 * 订单与货物关联表 Mapper 接口
 * </p>
 *
 * @author Forever
 * @since 2025-07-05
 */
public interface OrderProductDao extends BaseMapper<OrderProduct> {

    /**
     * 根据订单查询详细的订单明显列表
     * @param orderId 订单编号
     * @return List<OrderDetailsVO>
     */
    List<OrderDetailsVO> getOrderDetails(Long orderId);

}
